/**
 * WebRequest.js
 * @author Ulyan Sobin
 * @description WebRequest class
 */

"use strict";

class WebRequest {

	/** @type {Array.<string>} */
	path;

	/**
	 * Constructor of WebRequest
	 * @param {string} type
	 * @param {string} path
	 */
	constructor(path) {
		let divide = path.split('/');
		if (divide[0] == "") divide.shift();
		this.path = divide;
	}
}

module.exports.WebRequest = WebRequest;